public Election::getResult
Description
php
public Election->getResult ( [?string $method = null , array $methodOptions = []] ): CondorcetPHP\Condorcet\Result
Get a full ranking from an advanced Condorcet method.
Parameters
method: ?string
Not required for use election default method. Set the string name of the algorithm for use of a specific one.
methodOptions: array
Array of option for some methods. Look at each method documentation.
Return value
(CondorcetPHP\Condorcet\Result
) An Condorcet/Result Object (implementing ArrayAccess and Iterator, can be use like an array ordered by rank)
Throws:
VotingMethodIsNotImplemented